package com.hiraeth.modules.monitor.model.sd;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.hiraeth.modules.monitor.model.common.BasicAuth;
import com.hiraeth.modules.monitor.model.common.TlsConfig;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class MarathonSdConfig implements Serializable {
	
	private static final long serialVersionUID = 5684494633490070222L;

	/**
	 * 用于联系马拉松服务器的url列表。您需要提供至少一个服务器URL。
	 */
	private List<String> servers;
	
	/**
	 * 拉取间隔，默认30s
	 */
	private String refresh_interval;
	
	/**
	 * 用于基于令牌的身份验证的可选身份验证信息
	 */
	private String auth_token;
	private String auth_token_file;
	
	private BasicAuth basic_auth;
	
	private String bearer_token;
	private String bearer_token_file;
	
	private TlsConfig tls_config;
	
	private String proxy_url;
	

}
